/* User Profile Icon Styles */
.user-profile-wrapper {
    position: relative;
    display: inline-block;
}

.user-profile-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 0;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.user-profile-trigger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.profile-svg {
    stroke: #333;
    stroke-width: 2;
    width: 1.2vw;
    height: 1.2vw;
}

/* Floating List Menu Styles */
.personal-menu-dropdown {
    display: none;
    /* Hidden by default */
    position: absolute;
    top: 100%;
    /* Below the trigger */
    right: 0;
    /* Align right edge */
    margin-top: 10px;
    width: 200px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #eeeeee;
    border-radius: 4px;
    padding: 10px 0;
    z-index: 10000;
}

/* Show state */
.personal-menu-dropdown.show {
    display: block;
}

.personal-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.menu-item:hover {
    background-color: #f9f9f9;
    color: #000;
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    width: 20px;
    color: #444;
    /* Slightly lighter icon color */
}

/* Icon specific sizing */
.menu-icon svg {
    width: 20px;
    height: 20px;
}

/* Divider logic based on visual inspection */
/* Separator after 3rd item (Account Funds) */
.menu-item:nth-child(3) {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
    padding-bottom: 12px;
}

.menu-item:nth-child(4) {
    padding-top: 12px;
}

/* Typography adjustment */
.menu-text {
    font-family: inherit;
    font-weight: 500;
    /* Slightly bolder for readability */
}